selecting more than 1 table to get content from [php/Mysql]

Posted by SAFSOF on Stack Overflow See other posts from Stack Overflow or by SAFSOF
Published on 2010-05-01T14:20:51Z Indexed on 2010/05/01 14:27 UTC
Read the original article Hit count: 124

Filed under:
|
|

Hi There i want to get the latest threads/messages i made my code then i made function that calls the code to show last messages in specific board it works great now i want to get latest messages from 2 boards or more in the same function this is the part that chooses the board

     AND b.id_board = t.id_board' . (empty($vars) ? '' : '
     AND b.id_board = ' . $vars . ''). '

i tried to use functionname(1.2.3); but he says no board with id 1.2.3 i tried ("1,2,3") same i wish i made it clear for you i apreciate your help

© Stack Overflow or respective owner

Related posts about php

Related posts about mysql